﻿using Game.TDBehaviorTree;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System.IO;

public class BehaviorText : MonoBehaviour
{
    public GameObject m_SetObj;
   

    private void OnGUI()
    {
        if(GUI.Button(new Rect(100, 100, 100, 100), "get"))
        {
            NodeBase _node= TDBehaviorSystem.Instance.LoadBehaviorTree("1", m_SetObj);
            TDBehaviorSystem.Instance.m_CurrentNode = _node;
        }
    }

}






